<?php $this->pageTitle=Yii::app()->name . ' - 注册'; ?>

<h1>注册</h1>

<div class="yiiForm">

<?php echo CHtml::beginForm(); ?>

<?php echo CHtml::errorSummary($form); ?>

<div class="simple">
<?php echo CHtml::activeLabelEx($form,'username'); ?>
<?php echo CHtml::activeTextField($form,'username',array('size'=>16,'maxlength'=>16)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($form,'password'); ?>
<?php echo CHtml::activePasswordField($form,'password',array('size'=>16,'maxlength'=>16)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($form,'passwordRepeat'); ?>
<?php echo CHtml::activePasswordField($form,'passwordRepeat',array('size'=>16,'maxlength'=>16)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($form,'firstPet'); ?>
<?php echo CHtml::activeRadioButtonList($form,'firstPet',$firstPets); ?>
</div>

<div class="action">
<?php echo CHtml::submitButton('注册'); ?>
<?php echo CHtml::resetButton('重置'); ?>
</div>

<?php echo CHtml::endForm(); ?>

</div><!-- yiiForm -->
